package com.stxx.stiot2.ws.domain;

import lombok.Data;

/**
 * @author Fuzhenlei
 * @date 2024/12/19 14:27
 */
@Data
public class SocketRespone {
    public SocketRespone(int code, String requestId, Object playload) {
        this.code = code;
        this.playload = playload;
        this.requestId =requestId;
    }
    public SocketRespone(Object playload) {
        this(0,null,playload);
    }
    private int code;
    private Object playload;
    private String requestId;
}
